@import 'antd/es/style/themes/default.less';
.danger {
  color: @error-color;
}
.container {
  display: flex;
  flex: 1;
  flex-direction: row;

  padding: 24px;
}
.left-container {
  width: 264px;
  min-height: 100%;
  margin-right: 24px;
  padding: 16px 16px 16px 0;

  color: @heading-color;
  border-radius: @border-radius-base;
  background-color: @grey-2;
}
.right-container {
  flex: 1;
}
.department-list {
  margin: 0 0 0 14px;
  padding: 0;

  list-style: none;
  li.active {
    > .department-li {
      color: #fff;
      background-color: @primary-color;
    }
  }
}
.department-li {
  line-height: 32px;

  position: relative;

  height: 32px;
  margin-bottom: 4px;
  padding-left: 8px;

  cursor: pointer;

  border-radius: @border-radius-base;
  &:hover {
    color: #fff;
    background-color: @primary-2;
  }
  > i {
    position: absolute;
    top: 0;
    right: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;
  }
}
